/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package practica1_ayd2;

/**
 *
 * @author Gracu
 */
public class Rentas {
    private int id_renta;
    private int id_cliente;
    private int id_pelicula;
    private int dia;
    private int mes;
    private int anio;

    public Rentas(int id_renta,int id_cliente,int id_pelicula, int dia, int mes,int anio){
        set_id_renta(id_renta);
        set_id_cliente(id_cliente);
        set_id_pelicula(id_pelicula);
        set_dia(dia);
        set_mes( mes);
        set_anio(anio);
    }
    public void set_id_renta(int id_renta){this.id_renta=id_renta;}
    public void set_id_cliente(int id_cliente){this.id_cliente=id_cliente;}
    public void set_id_pelicula(int id_pelicula){this.id_pelicula=id_pelicula;}
    public void set_dia(int dia){this.dia=dia;}
    public void set_mes(int mes){this.mes=mes;}
    public void set_anio(int anio){this.anio=anio;}

    public int get_id_renta(){return this.id_renta;}
    public int get_id_cliente(){return this.id_cliente;}
    public int get_id_pelicula(){return this.id_pelicula;}
    public int get_dia(){return this.dia;}
    public int get_mes(){return this.mes;}
    public int get_anio(){return this.anio;}
}
